package com.ymatou.shop.model;

import java.util.Date;

import com.google.gson.annotations.SerializedName;

public class Order implements IItem {

	private static final long serialVersionUID = 1L;
	
	/** 订单生成 */
	public static final int STATUS_CREATE = 1;
	
	/** 订单已付款 */
	public static final int STATUS_PAYMENT = 2;
	
	/** 订单已发货 */
	public static final int STATUS_SEND = 3;
	
	/** 订单已确认收货 */
	public static final int STATUS_RECEIVE = 4;
	
	/** 卖家已接单 */
	public static final int STATUS_SELLER_ACCESS = 17;
	
	/** 订单需要补款 */
	public static final int STATUS_FILL_PRICE = 16;
	
	
	/**
	 * 订单Id
	 */
	@SerializedName("OrderId")
	public String mId;

	/**
	 * 下单时间
	 */
	@SerializedName("AddTime")
	public Date mCreateTime;
	
	/**
	 * 预估到手价
	 */
	@SerializedName("Price")
	public int mPrice;
	
	/**
	 * 定金
	 */
	@SerializedName("Earnest")
	public int mDownPayment;
	
	/**
	 * 商品购买数量
	 */
	@SerializedName("ProductNum")
	public int mNum;
	
	/**
	 * 商品主图地址
	 */
	@SerializedName("ProductPic")
	public String mProductMainPic;
	
	/**
	 * 商品描述
	 */
	@SerializedName("ProductDes")
	public String mProductDescription;
	
	/**
	 * 最后可付款时间
	 */
	@SerializedName("LastPayTime")
	public Date mLastPayTime;
	
	/**
	 * 订单状态枚举
	 */
	@SerializedName("TradingStatus")
	public int mStatus;
}
